<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="wilmar" uri="/wilmar-process"%>
<html>
<head>
<wilmar:process.head autocomplete="true" ui="true" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><s:text name="page.title.task.seacher"></s:text></title>
<script type="text/javascript">
	$(document)
			.ready(
					function() {
						var options, a;
						jQuery(function() {
							options = {
								serviceUrl : 'processDefinitionAjaxAction!getProcessDefinitionNameList.action'
							};
							a = $('#queryPdName').autocomplete(options);
						});
					});
</script>
</head>
<body>
<center><wilmar:process.logo /></center>
<s:form namespace="/process" id="piSearchForm"
	action="taskInstanceAction!doGetTaskHistroyList.action">
	<table>
		<tbody>
			<tr>
				<td><s:text name="tisearch.label.pdname"></s:text></td>
				<td><s:textfield
					name="historyTaskInstanceQueryObject.processDefinitionName"
					id="queryPdName" /></td>
				<td><s:text name="tisearch.label.piid"></s:text></td>
				<td><s:textfield
					name="historyTaskInstanceQueryObject.processInstanceId" /></td>
			</tr>
			<tr>
				<td><s:text name="tisearch.label.outersystem" /></td>
				<td><s:textfield
					name="historyTaskInstanceQueryObject.outSystem"></s:textfield></td>
				<td><s:text name="tisearch.label.tiid" /></td>
				<td><s:textfield
					name="historyTaskInstanceQueryObject.taskInstanceId"></s:textfield></td>
			</tr>
			<tr>
				<td><s:text name="tisearch.label.mincreatetime"></s:text></td>
				<td><s:textfield id="minStartTime" cssClass="process_datepicker"
					name="historyTaskInstanceQueryObject.minStartTime" /></td>
				<td><s:text name="tisearch.label.maxcreatetime"></s:text></td>
				<td><s:textfield id="maxStartTime" cssClass="process_datepicker"
					name="historyTaskInstanceQueryObject.maxStartTime" /></td>
			</tr>
			<tr>
				<td colspan="4"><s:submit
					value="%{getText('global.button.search')}" /></td>
			</tr>
		</tbody>
	</table>
</s:form>
</body>
</html>
